package cn.itmantzy.system.service.impl;

import cn.itmantzy.basic.service.impl.BaseServiceImpl;
import cn.itmantzy.system.domain.DicType;
import cn.itmantzy.system.mapper.DicTypeMapper;
import cn.itmantzy.system.service.IDicTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DicTypeServiceImpl extends BaseServiceImpl<DicType> implements IDicTypeService {
    @Autowired
    private DicTypeMapper dicTypeMapper;

    @Override
    public void remove(Long id) {
        dicTypeMapper.delete(id);
        dicTypeMapper.deleteDicDetail(id);
    }

}
